package com.gok.seasonmovie.mapper;

import com.gok.seasonmovie.entity.Movie;
import com.gok.seasonmovie.entity.Orders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderMapper {
    @Select("SELECT * FROM orders ORDER BY day DESC ,time DESC")
    List<Orders> findAll();

}
